package com.example.computer_exam_training_sys.dto;

import lombok.Data;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class LearningGoalDTO {
    private Long goalId;
    private Long userId;
    private String goalType;
    private Integer targetValue;
    private Integer currentValue;
    private LocalDate startDate;
    private LocalDate endDate;
    private String status;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    
    // 额外字段
    private Double completionRate;  // 完成率
    private Integer remainingDays;  // 剩余天数
    private String userName;        // 用户名
} 